﻿using System;
using System.Collections.Generic;
using Meqs.Entity;

namespace Meqs.Logic.Interface
{
    public interface IMoralityEvalListLogic : ICommonLogic<MoralityEvalList, int>
    {
        /// <summary>
        /// 查询德育评价清单
        /// </summary>
        /// <param name="reportType"></param>
        /// <param name="year"></param>
        /// <param name="month"></param>
        /// <param name="schoolYear"></param>
        /// <param name="term"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        MoralityEvalList GetEvalList(int reportType, int year, int month,int day, int? schoolYear, int? term,
                                            string schoolMark);

        /// <summary>
        /// 插入德育评价记录
        /// </summary>
        /// <param name="moralityEvalList"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        int InsertMoralityEvalList(MoralityEvalList moralityEvalList, string schoolMark);
    }
}